import request from '../utils/request.js';


// 收藏夹列表接口
export const getBannerList = (params) => {
  return request({
    url: `/web/category/getBannerList?type=${params.type}`,
    method: 'get',
  })
}

// 课程分类接口
export const getCategoryList = (params) => {
  return request({
    url: `/web/category/getCategoryList?type=${params}`,
    method: 'get',
  })
}

// 获取直播列表
export const selectLiveListisReferral = (params) => {
  return request({
    url:`/web/live/selectLiveList?pageNum=${params.pageNum}&pageSize=${params.pageSize}&isReferral=${params.isReferral}`,
    method: 'get',
  })
}

// 课程分类接口
export const getTuiJian = () => {
  return request({
    url: `/web/nominate/getNominateList`,
    method: 'get',
  })
}
